package com.xinyue.cross.server.client.model;

import io.netty.channel.Channel;
import org.springframework.context.ApplicationEvent;

public class NettyConnectionCloseEvent extends ApplicationEvent {
    private Channel channel;

    public NettyConnectionCloseEvent(Object source, Channel channel) {
        super(source);
        this.channel = channel;
    }

    public Channel getChannel() {
        return channel;
    }
}
